package com.zzxx.wechat.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * arctery-spu表
 * </p>
 *
 * @author zzxx
 * @since 2024-04-10
 */
@TableName("arcteryx_spu")
public class ArcteryxSpu implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * spu_id
     */
    private String spuId;

    /**
     * spu名
     */
    private String spuName;

    /**
     * 商品URL
     */
    private String spuUrl;

    /**
     * 商品图片
     */
    private String spuImage;

    /**
     * 商品名
     */
    private String analyticsName;

    /**
     * 原价
     */
    private BigDecimal price;

    /**
     * 现价
     */
    private BigDecimal discountPrice;

    /**
     * 最小原价
     */
    private BigDecimal minPrice;

    /**
     * 最小现价
     */
    private BigDecimal minDiscountPrice;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    /**
     * 是否删除：1删除，其他情况不是删除
     */
    private Boolean isDel;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSpuId() {
        return spuId;
    }

    public void setSpuId(String spuId) {
        this.spuId = spuId;
    }

    public String getSpuName() {
        return spuName;
    }

    public void setSpuName(String spuName) {
        this.spuName = spuName;
    }

    public String getSpuUrl() {
        return spuUrl;
    }

    public void setSpuUrl(String spuUrl) {
        this.spuUrl = spuUrl;
    }

    public String getSpuImage() {
        return spuImage;
    }

    public void setSpuImage(String spuImage) {
        this.spuImage = spuImage;
    }

    public String getAnalyticsName() {
        return analyticsName;
    }

    public void setAnalyticsName(String analyticsName) {
        this.analyticsName = analyticsName;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getDiscountPrice() {
        return discountPrice;
    }

    public void setDiscountPrice(BigDecimal discountPrice) {
        this.discountPrice = discountPrice;
    }

    public BigDecimal getMinPrice() {
        return minPrice;
    }

    public void setMinPrice(BigDecimal minPrice) {
        this.minPrice = minPrice;
    }

    public BigDecimal getMinDiscountPrice() {
        return minDiscountPrice;
    }

    public void setMinDiscountPrice(BigDecimal minDiscountPrice) {
        this.minDiscountPrice = minDiscountPrice;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Boolean getIsDel() {
        return isDel;
    }

    public void setIsDel(Boolean isDel) {
        this.isDel = isDel;
    }

    @Override
    public String toString() {
        return "ArcteryxSpu{" +
        "id = " + id +
        ", spuId = " + spuId +
        ", spuName = " + spuName +
        ", spuUrl = " + spuUrl +
        ", spuImage = " + spuImage +
        ", analyticsName = " + analyticsName +
        ", price = " + price +
        ", discountPrice = " + discountPrice +
        ", minPrice = " + minPrice +
        ", minDiscountPrice = " + minDiscountPrice +
        ", createTime = " + createTime +
        ", updateTime = " + updateTime +
        ", isDel = " + isDel +
        "}";
    }
}
